home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 March / macformat-022.iso / Shareware City / Developers / src / out-of-phase-102-c / OutOfPhase 1.02 Source / OutOfPhase Folder / DrawCommand.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-23  |  1.7 KB  |  44 lines  |  [TEXT/KAHL]

  1. /* DrawCommand.h */
  2.  
  3. #ifndef Included_DrawCommand_h
  4. #define Included_DrawCommand_h
  5.  
  6. /* DrawCommand module depends on */
  7. /* MiscInfo.h */
  8. /* Audit */
  9. /* Debug */
  10. /* Definitions */
  11. /* Screen */
  12. /* DataMunging */
  13. /* Memory */
  14.  
  15. #include "Screen.h"
  16.  
  17. /* draw a command with no parameters.  the string is null terminated and not disposed. */
  18. OrdType                        DrawCommandNoParams(WinType* Window, OrdType X, OrdType Y,
  19.                                         FontType Font, FontSizeType FontSize, MyBoolean ActuallyDraw,
  20.                                         MyBoolean GreyedOut, char* String);
  21.  
  22. /* draw a command with one parameter.  first string is null terminated and not */
  23. /* disposed, but the second string is a non-null-terminated heap block which is */
  24. /* disposed.  if the second one is NIL, then it is ignored */
  25. OrdType                        DrawCommand1Param(WinType* Window, OrdType X, OrdType Y,
  26.                                         FontType Font, FontSizeType FontSize, MyBoolean ActuallyDraw,
  27.                                         MyBoolean GreyedOut, char* String, char* Argument1);
  28.  
  29. /* draw a command with 2 parameters */
  30. OrdType                        DrawCommand2Params(WinType* Window, OrdType X, OrdType Y,
  31.                                         FontType Font, FontSizeType FontSize, MyBoolean ActuallyDraw,
  32.                                         MyBoolean GreyedOut, char* String, char* Argument1,
  33.                                         char* Argument2);
  34.  
  35. /* draw a command that has one parameter, but has line feeds in it. */
  36. /* first string is null terminated and not disposed, but the second string is */
  37. /* a non-null-terminated heap block which is disposed.  if the second one is NIL, */
  38. /* then it is ignored */
  39. OrdType                        DrawCommand1ParamWithLineFeeds(WinType* Window, OrdType X, OrdType Y,
  40.                                         FontType Font, FontSizeType FontSize, MyBoolean ActuallyDraw,
  41.                                         MyBoolean GreyedOut, char* String, char* Argument1);
  42.  
  43. #endif
  44.